package app.helper;

import java.sql.SQLException;
import java.util.Map;

import javax.sql.DataSource;

import org.rails.core.model.RecordNotFoundException;

public abstract class AccountHelper extends ApplicationHelper {

//	public static DataSource accDataSource;
//	
//	static{
//		try {
//			accDataSource = DataSourceHelper.getDataSource("Account.db");
//		} catch (Exception e) {
//			e.printStackTrace();
//		}
//	}
	
	public AccountHelper() {
		super(sysDataSource);
	}

	public AccountHelper(Object id)
			throws RecordNotFoundException, SQLException {
		super(sysDataSource,id);
	}

	public AccountHelper(Map<String, Object> m) {
		super(sysDataSource,m);
	}
	
	public AccountHelper(String tableName) {
		super(sysDataSource,tableName);
	}
	

}
